/*
 * Copyright (c) ShaoxiongDu <Shaoxiong.dev@aliyun.com> 2021 all Rights Reserved
 */

package zh.codegym.task.task06.task0606;

import java.io.IOException;
import java.util.Scanner;

/* 
偶数和奇数
*/

public class Solution {

    public static int even;
    public static int odd;

    public static void main(String[] args) throws IOException {
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);
        int number = scanner.nextInt();

        while (number != 0) {
            if (number % 2 == 0) {
                even++;
            } else {
                odd++;
            }
            number /= 10;
        }
        System.out.println("偶数：" + even + " 奇数：" + odd + "");
    }
}
